import request from '@/utils/request'
import qs from 'qs'

// /djpp/page
export const djppPage = params => {
  return request({
    url: '/djpp/page?' + qs.stringify(params),
    method: 'POST'
  })
}

//  新增 & 修改 /djpp/save
export const saveDjpp = data => {
  return request({
    url: '/djpp/save',
    method: 'POST',
    data
  })
}

// 删除 /djpp/delete
export const deleteDjpp = params => {
  return request({
    url: '/djpp/delete?' + qs.stringify(params),
    method: 'POST'
  })
}
